<html>
<head>
	<title>Excersise 4</title>
	<link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<div></div>
	<script src="scripts/js-console.js"></script>
	<script>
		numberOfDivs();

		function numberOfDivs(){
			var counter = document.getElementsByTagName("div").length;
			jsConsole.writeLine('The number of divs in the html document is: '+counter)
		}
	</script>
</body>
</html>
